package data.enums;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public enum Continent {

	AMERICA (Arrays.asList(Index.Nasdaq_Composite, Index.Merval, Index.Nyse_Composite, Index.Dow_Jones)),
	ASIA (Arrays.asList(Index.BSE_Sensex, Index.Nikkei_255, Index.Hang_Seng, Index.Shanghai_Composite)),
	EUROPE (Arrays.asList(Index.CAC_40, Index.FTSE_100, Index.DAX, Index.Stockholm_General));
	
	private List<Index> indexes = new ArrayList<>();
	
	Continent (List<Index> indexes) {
		this.indexes = indexes;
	}
	
	public List<Index> getIndexes(){
		return indexes;
	}
	
}
